package com.woniuxy.boot.nb_feedback.feign;

import com.woniuxy.boot.common.bean.EsFeedback;
import com.woniuxy.boot.common.dto.EsFeedbackSearchDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("nb-search")
public interface FeedbackSearchFeign {

    @PostMapping("feedbackSearch/get")
    List<EsFeedback> getFeedback(@RequestBody EsFeedbackSearchDTO feedbackSearch);
}
